import time

from scrapy import cmdline

start_time = time.time()
cmdline.execute(['scrapy', 'crawl', 'bqgSexy'])
end_time = time.time()
print('总耗时：', start_time - end_time, 's')
